//
//  StarListTableViewCell.m
//  Doctor1.0
//
//  Created by mk on 15/7/6.
//  Copyright (c) 2015年 cocoa-mk. All rights reserved.
//

#import "StarListTableViewCell.h"
#import "UIImageView+WebCache.h"
#import "UIColor+AddColor.h"
@implementation StarListTableViewCell

- (void)awakeFromNib
{
    myImage.layer.cornerRadius = myImage.width/2;
    myImage.clipsToBounds = YES;

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)fillDataWith:(TeamInfpData *)exper
{
    [myImage sd_setImageWithURL:exper.imageUrl placeholderImage:loadDoctorImageDefaule];
    titleLabel.text = exper.name;
    hospital.text = exper.hpName;
    slogan.text = exper.slogan;
}

@end



